<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-html" prefix="html" %>
<%@ taglib uri="/struts-bean" prefix="bean" %>
<%@ taglib uri="/struts-logic" prefix="logic" %>
<%@ taglib uri="/terasoluna-struts" prefix="ts" %>
<%@ taglib uri="/terasoluna" prefix="t" %>
<%@ taglib uri="/terasoluna-library" prefix="tl" %>
<link href="<%=request.getContextPath()%>/admin/css/tcmsystem.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="<%=request.getContextPath()%>/admin/javascript/jquery-1.7.1.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/admin/javascript/tcmsystem.js"></script>
<body>
<table width="165" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="28" background="images/main_40.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="19%">&nbsp;</td>
        <td width="81%" height="20"><span class="STYLE5">管理菜单</span></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top"><table width="151" border="0" align="center" cellpadding="0" cellspacing="0">
      <logic:present name="user" scope="session">
      <logic:iterate id="mainMenu" name="user" property="menuList" indexId="number">
      <logic:notEmpty name="mainMenu" property="subMenuList" >
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="23" background="images/main_47.gif" id="imgmenu<%=number + 1%>" class="menu_title" onMouseOver="this.className='menu_title2';" onClick="showsubmenu(<%=number + 1%>)" onMouseOut="this.className='menu_title';" style="cursor:hand">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="18%">&nbsp;</td>
                <td width="82%" class="STYLE5"><bean:write name="mainMenu" property="title"/></td>
              </tr>
            </table>
            </td>
          </tr>
          <tr>
            <td background="images/main_51.gif" id="submenu<%=number + 1%>">
			<div class="sec_menu" >  
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <logic:iterate id="subMenu" name="mainMenu" property="subMenuList" >
                  <tr>
                    <td width="16%" height="25"><div align="center"><img src="images/left.gif" width="10" height="10" /></div></td>
                    <td width="84%" height="23"><table width="95%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="20" style="cursor:hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "onmouseout="this.style.borderStyle='none'">
                          <span class="STYLE3">
                          <a href='../admin<bean:write name="subMenu" property="navigateUrl"/>' target="work"><bean:write name="subMenu" property="title"/></a>
                          </span>
                          </td>
                        </tr>
                    </table></td>
                  </tr>
                  </logic:iterate>
                </table></td>
              </tr>
              <tr>
                <td height="5"><img src="images/main_52.gif" width="151" height="5" /></td>
              </tr>
            </table></div></td>
          </tr>
        </table></td>
      </tr>
      </logic:notEmpty>
      </logic:iterate>
      </logic:present>
    </table></td>
  </tr>
  <tr>
    <td height="18" background="images/main_58.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="18" valign="bottom"><div align="center" class="STYLE3">版本：2012V1.0</div></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>